package common;

public class Strings {
    public static String trinAndDeleteDoubleSpace(String str) {
        str = str.trim();
        while (str.contains("  "))
            str = str.replace("  ", " ");
        return str;
    }
}
